/**
 * @project_name staff_vehicle
 * @package_name com.ssh.dao
 * @desc TODO
 * @param
 * @author jack
 * @date 2013-4-23
 * @time 下午1:24:17
 */
package com.ssh.dao;

import java.sql.Timestamp;
import java.util.List;

import com.ssh.entity.VisitorTable;
import com.ssh.model.pdata.VVisitInfoPData;

/**
 * @author jack
 *
 */
public interface VisitorTableDAOI {
	public VisitorTable queryVTableById(String visitorId);
	public VisitorTable updateVTable(VisitorTable visitorTable);
	public VisitorTable deleteVTableById(String visitorId);
	public VisitorTable addVTable(VisitorTable visitorTable);
	public List<VisitorTable> queryVTable(String ...strings);
	public List<VisitorTable> getAll();
	public int updateVTable(VisitorTable...visitorTable);
	public int deleteVTable(String ...strings);
	public int addVTable(VisitorTable...visitorTable);

	public List<VVisitInfoPData> getAllVVisitorInfo();
	/**
	 * @param visitorId
	 * @param state
	 * @return
	 */
	public VisitorTable queryVTableById(String visitorId, String state);

	public VVisitInfoPData getVByIdState(String visitorId, String state );
	/**
	 * @param inTime
	 * @return
	 */
	public List<VVisitInfoPData> getVVisitorByInTime(Timestamp inTime);
	/**
	 * @param offTime
	 * @return
	 */
	public List<VVisitInfoPData> getVVisitorByOffTime(Timestamp offTime);

}
